import java.text.SimpleDateFormat;
import java.util.Calendar;


public class Main {
	
	public static void main(String[] args){
		Calendar data=Calendar.getInstance();
		System.out.println(data);
		SimpleDateFormat dataFormatada=new SimpleDateFormat("ddMMyyyyhhmmss");
		System.out.println(dataFormatada.format(Calendar.getInstance().getTime()));
		System.out.println(new SimpleDateFormat("ddMMyyyyhhmmss").format(Calendar.getInstance().getTime()));
		String nomeDoArquivo=new SimpleDateFormat("ddMMyyyyhhmmss").format(Calendar.getInstance().getTime());
		System.out.println(nomeDoArquivo);
	}

}
